using System;
using System.Collections.Generic;
using System.Text;

namespace KukaDataComCommon
{
    [Serializable]
    public class Orientation
    {

        #region Eigenschaften

        private float a;
        public float A
        {
            get { return a; }
            set { a = value; }
        }

        private float b;
        public float B
        {
            get { return b; }
            set { b = value; }
        }

        private float c;
        public float C
        {
            get { return c; }
            set { c = value; }
        }

        #endregion

        #region Konstruktor

        public Orientation()
            :this(-90, 45, -90)
        { }

        public Orientation(Orientation copy)
            :this(copy.A, copy.B, copy.C)
        { }

        public Orientation(float a, float b, float c)
        {
            this.a = a;
            this.b = b;
            this.c = c;
        }

        public Orientation Copy()
        {
            return new Orientation(this);
        }

        #endregion

        #region overrides

        public override string ToString()
        {
            return "A: " + A + " B: " + B + " C: " + C;
        }

        #endregion

    }
}
